﻿<sample:DemoView x:Class="Samples.Modules.Calculator.Views.CalculatorView"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:sample="clr-namespace:Samples.Infrastructure.Controls;assembly=Samples.Infrastructure"
                 xmlns:Control="clr-namespace:WPFDataEditors.Calculator.Control;assembly=WPFDataEditors"
                 Title="Calculator">
   <Grid>
      <Grid.RowDefinitions>
         <RowDefinition Height="Auto" />
         <RowDefinition Height="Auto" />
         <RowDefinition Height="*" />
      </Grid.RowDefinitions>
      <GroupBox  Grid.Row="1" Margin="5">
            <GroupBox.Header>
                <TextBlock Text="Features:" FontSize="16" FontWeight="Bold" Foreground="DarkBlue"/>
            </GroupBox.Header>
            <StackPanel Margin="5" HorizontalAlignment="Left">
                <StackPanel.Resources>
                    <Style TargetType="TextBlock">
                        <Setter Property="Margin" Value="5"/>
                        <Setter Property="Foreground" Value="DarkBlue"/>
                    </Style>
                </StackPanel.Resources>
                <TextBlock>1: Copy paste feature in calculator display area.</TextBlock>
            </StackPanel>
        </GroupBox>

      <StackPanel Grid.Row="2" Margin="10">
            <TextBlock Text="Usage:" FontSize="16" FontWeight="Bold" Foreground="DarkBlue"/>
         <TextBlock Text="When the Calculator has focus, you can use the keyboard to interact with the key pad. Click the Calculator to give focus." Margin="10,0" />
         <Control:Calculator Margin="10" Width="250" />
      </StackPanel>
   </Grid>
</sample:DemoView>
